package com.hanson.platform_api.properties;

import lombok.Data;
import lombok.ToString;
import org.springframework.boot.context.properties.ConfigurationProperties;
import org.springframework.stereotype.Component;

/**
 * @description: 腾讯云cos存储properties属性配置
 * @classname: TencentCOSProperties
 * @author: Hanson
 * @create: 2021/08/07
 **/
@Data
@ToString
@Component
@ConfigurationProperties(prefix = "tencent.cos",ignoreUnknownFields = true)
public class TencentCOSProperties {

    private String accessKey;
    private String secretKey;
    private String bucket;
    private String bucketName;
    private String path;
    private String prefix;
    private String region;
    private String fileHost;
}
